我无法将图像转换为已使用ngCordovaimagePicker选择的base64格式.为简单起见,Cordova站点上提供的代码(有效)是这样的:module.controller('ThisCtrl',function($scope,$cordovaImagePicker){varoptions={maximumImagesCount:10,width:800,height:800,quality:80};$cordovaImagePicker.getPictures(options).then(function(results){for(vari=0;i结果数组返回一个结果数组,
我有以下数组对象varstats=[[0,200,400],[100,300,900],[220,400,1000],[300,500,1500],[400,800,1700],[600,1200,1800],[800,1600,3000]];我想知道如何将它转换为以下JavaScript对象。varstats=[{x:0,y:200,k:400},{x:100,y:300,k:900},{x:220,y:400,k:1000},{x:300,y:500,k:1500},{x:400,y:800,k:1700},{x:600,y:1200,k:1800},{x:800,y:1600,k